<?php
namespace Home\Model;
use Think\Model;


class NewsModel extends Model {
    private $_db = '';

    public function __construct() {
        $this->_db = M('newscontent');
    }
    public function find($id){
    return $this->_db->where('news_id='.id)->find();	
    }

}    